package com.Entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * GesWeeks entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ges_weeks", catalog = "monitor")
public class GesWeeks implements java.io.Serializable {

	// Fields

	private int weekId;
	private String title;
	private String bodyText;
	private String notices;
	private String recipes;
	private String picUrl;

	// Constructors

	/** default constructor */
	public GesWeeks() {
	}

	/** full constructor*/
	public GesWeeks(String title, String bodyText, String recipes, String picUrl, String notices) {
		this.title = title;
		this.bodyText = bodyText;
		this.notices = notices;
		this.recipes = recipes;
		this.picUrl = picUrl;
	}


	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "WeekID", unique = true, nullable = false)
	public int getWeekId() {
		return this.weekId;
	}

	public void setWeekId(int weekId) {
		this.weekId = weekId;
	}

	@Column(name = "Title", length = 200)
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name = "BodyText", length = 500)
	public String getBodyText() {
		return this.bodyText;
	}

	public void setBodyText(String bodyText) {
		this.bodyText = bodyText;
	}
	
	@Column(name = "Notices", length = 500)
	public String getNotices() {
		return notices;
	}

	public void setNotices(String notices) {
		this.notices = notices;
	}

	@Column(name = "Recipes", length = 500)
	public String getRecipes() {
		return this.recipes;
	}

	public void setRecipes(String recipes) {
		this.recipes = recipes;
	}

	@Column(name = "PicUrl", length = 500)
	public String getPicUrl() {
		return this.picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

}